Skip to content

Feature: Concat TF-MInDi AnnData#26

Merged
SeppeDeWinter merged 2 commits intomainfrom
issue22
Nov 12, 2025
Merged

Feature: Concat TF-MInDi AnnData#26
SeppeDeWinter merged 2 commits intomainfrom
issue22

Conversation

@SeppeDeWinter
Copy link
Copy Markdown
Collaborator

@SeppeDeWinter SeppeDeWinter commented Oct 29, 2025

New TF-MInDi Anndata concatenation features

  • concatentation of TF-MInDi anndata objects while preserving adata.var and adata.uns["unique_examples"]
  • Has option idx_match so user can specify whether index columns in adata.obs ("example_oh_idx", "example_contrib_idx", "example_idx") refer to the same data across adatas or not
  • new test code for this new feature.

I cherry-picked these commits from PR #16, given that that PR seems to require some more work.

Related to issue:

Better user experience for concatenating multiple TF-MInDi objects. Fixes #22

- concatentation of TF-MInDi anndata objects while preserving adata.var and adata.uns["unique_examples"]
- Has option `idx_match` so user can specify whether index columns in adata.obs ("example_oh_idx", "example_contrib_idx", "example_idx") refer to the same data across adatas or not

Related to issue:

Better user experience for concatenating multiple TF-MInDi objects.
Fixes #22
Copy link
Copy Markdown
Collaborator

@LukasMahieu LukasMahieu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, but make sure these changes will be documented in the readthedocs by adding the function names to the appropriate markdown files in the docs/ folder (and building the docs locally to see if it works). If this new function doesn't fall under any existing category, it should get a new markdown file (maybe it fits under tfmindi.pp?)

@SeppeDeWinter
Copy link
Copy Markdown
Collaborator Author

Ah yes, good point.
Added and tested now :)

@LukasMahieu
Copy link
Copy Markdown
Collaborator

LGTM! Can be merged

@SeppeDeWinter SeppeDeWinter merged commit 7553f72 into main Nov 12, 2025
8 checks passed
@SeppeDeWinter SeppeDeWinter deleted the issue22 branch November 12, 2025 15:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Better user experience for concatenating multiple TF-MInDi objects.

2 participants